import type { TitleCardType } from './types/index.type';

const TitleCard = ({ title, children }: TitleCardType) => {
  return (
    <div className="flex items-center font-bold text-16 before:block before:w-4 before:h-16 before:bg-primary-color before:mr-4 before:rounded-2">
      {title}
      <span className="flex-1">{children}</span>
    </div>
  );
};
export default TitleCard;
